def listzwf(1: List[Int]): List[Int] = {
  list.map(x => if (x % 2 == 0) x / 2 else x + 1)
}
println(listzwf(List(1,2,3,4,5,6)).drop(1)